package com.yuyou.fn.crm.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 来源分类
 *
 */
@TableName(value = "crm_from_category")
public class FromCategory implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<FromCategory> createExample(){
		return new Example<FromCategory>(FromCategory.class);
	}

	/**  */
	@TableId(value = "category_id")
	private Long categoryId;

	/**  */
	@TableField(value = "area_team_id")
	private Long areaTeamId;

	/** 来源名称 */
	@TableField(value = "category_name")
	private String categoryName;

	/**  */
	@TableField(value = "parent_category_id")
	private Long parentCategoryId;

	/** 备注 */
	private String remark;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	public Long getCategoryId() {
		return this.categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public Long getAreaTeamId() {
		return this.areaTeamId;
	}

	public void setAreaTeamId(Long areaTeamId) {
		this.areaTeamId = areaTeamId;
	}

	public String getCategoryName() {
		return this.categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public Long getParentCategoryId() {
		return this.parentCategoryId;
	}

	public void setParentCategoryId(Long parentCategoryId) {
		this.parentCategoryId = parentCategoryId;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
